package com.itheima.spring.cyclicDependency.bean;

import com.itheima.spring.cyclicDependency.annitation.Autowired;
import com.itheima.spring.cyclicDependency.annitation.Component;
import lombok.Data;


@Component
@Data
public class UserB {

    @Autowired
    private UserA userA;

    public void run(){

        System.out.println("UserB");
    }

}
